package com.hivision.iot.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * <p>Title: ChildAssetDTO</p>
 * <p>Description: </p>
 * <p>Company: www.h-visions.com</p>
 * <p>create date: 2021/06/24</p>
 *
 * @author :jqzhang
 * @version :1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ChildAssetDTO {


    @JsonProperty("TotalCount")
    private String totalCount;
    @JsonProperty("Assets")
    private List<AssetsDTO> assets;

    @NoArgsConstructor
    @Data
    public static class AssetsDTO {
        @JsonProperty("Code")
        private String code;
    }
}
